package com.atguigu.crowd.service.impl;

import com.atguigu.crowd.mapper.HardWareProtocolMapper;
import com.atguigu.crowd.mapper.bean.HardWareProtocol;
import com.atguigu.crowd.mapper.bean.HardWareProtocolExample;
import com.atguigu.crowd.service.api.HardWareProtocolService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HardWareProtocolImpl implements HardWareProtocolService {
    @Autowired
    HardWareProtocolMapper hardWareProtocolMapper;
    Logger logger = LoggerFactory.getLogger(HardWareProtocolService.class);
    @Override
    public List<HardWareProtocol> getHardWareProtocol() {
        HardWareProtocolExample hardWareProtocolExample = new HardWareProtocolExample();
        return hardWareProtocolMapper.selectByExample(hardWareProtocolExample);
    }
}
